package com.liull.netty.lagou.write_and_flush;

/**
 * @Author: liull
 * @Description:
 * @Date: Created in 21:21 2020/12/30
 * @Modified By:
 */
public class ResponseSample {
    private String code;

    private String data;

    private Long timestamp;

    public ResponseSample(String ok, String data, long currentTimeMillis) {
        code = ok;
        this.data = data;
        this.timestamp = currentTimeMillis;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
